/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.secretaria.saude.negocio.base;

import java.util.Collection;
import java.util.Map;
import net.sf.jasperreports.engine.JRException;

/**
 *
 * @author Pablo
 */
public interface JasperRelatorioService {

    byte[] gerarRelatorio(String nomeRelatorio,String nomeModulo, Map<String, Object> parametros, Collection<?> beans) throws JRException;

    byte[] gerarRelatorio(String nomeRelatorio, String nomeModulo, Map<String, Object> parametros) throws JRException ;

    byte[] gerarRelatorioExcel(String nomeRelatorio, String nomeModulo, Map<String, Object> parametros, final Collection<?> beans) throws JRException;

    byte[] gerarRelatorioExcel(final String nomeRelatorio, final String nomeModulo, final Map<String, Object> parametros) throws JRException;


}
